package com.ruoyi.system.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 商城订单退款视图对象 p_store_return
 *
 * @author ruoyi
 * @date 2022-08-05
 */
@Data
@ApiModel("商城订单退款视图对象")
@ExcelIgnoreUnannotated
public class PStoreReturnVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    @ApiModelProperty("")
    private Long id;

    /**
     * 商品id
     */
    @ExcelProperty(value = "商品id")
    @ApiModelProperty("商品id")
    private Long productId;

    /**
     * 商品个数
     */
    @ExcelProperty(value = "商品个数")
    @ApiModelProperty("商品个数")
    private Integer productCount;

    /**
     * 货物状态
     */
    @ExcelProperty(value = "货物状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "common_type")
    @ApiModelProperty("货物状态")
    private String productType;

    /**
     * 退款原因
     */
    @ExcelProperty(value = "退款原因")
    @ApiModelProperty("退款原因")
    private String info;

    /**
     * 退款金额
     */
    @ExcelProperty(value = "退款金额")
    @ApiModelProperty("退款金额")
    private BigDecimal price;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    @ApiModelProperty("描述")
    private String descInfo;

    /**
     * 凭证图片
     */
    @ExcelProperty(value = "凭证图片")
    @ApiModelProperty("凭证图片")
    private String url;

    /**
     * 审批状态 0 待审批 1 审批通过 2 审批失败
     */
    @ExcelProperty(value = "审批状态 0 待审批 1 审批通过 2 审批失败", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "common_type")
    @ApiModelProperty("审批状态 0 待审批 1 审批通过 2 审批失败")
    private String checkType;

    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人", required = true)
    private Long userId;

    /**
     * 商品名称
     */
    private String storeName;

    /**
     * 用户名
     */
    private String username;
}
